![]() |
PATH![]() |
![]() ![]() |
Reopen is an application command that reactivates a running application. It has the same effect as double-clicking on the application's icon in the Finder when the application is already running. Because it may not be obvious to a user that anything happened after double-clicking an application icon when no windows for that application are open, the application may choose to open an untitled window or perform some other operation to make its activation known. If an application is not already running, sending it a Reopen command has the same effect as running the application--see Run.
Each application determines how it will implement the Reopen command. Some applications may perform their usual startup procedures, such as opening a new window, while others perform no additional operations.
To specify the name ( nameString ) of an application to reopen, use a string of the form " Disk : Folder1 : Folder2 :...: ApplicationName " ; for details, see References to Applications. You can also specify a string with only an application name (" ApplicationName "). In this case, AppleScript attempts to find the application using the Desktop Database maintained by the Finder.